<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">
	<f:view>
		<ui:composition template="/template/templatePadrao.xhtml">
		
			<ui:define name="body">
			
			<h:form id="form">
				<p:growl id="growl" />
					<h:panelGroup id="list_cliente" rendered="#{!clienteManager.showPanelCadastro}">
						<h:outputText value="Cliente > Listagem" styleClass="breadcrumb"/>
						<ui:include src="/veterinaria/paginas/cliente/list.xhtml" />
					</h:panelGroup>

					<h:panelGroup id="panel_cliente" rendered="#{clienteManager.showPanelCadastro}">
						<h:outputText value="Cliente > Cadastro" styleClass="breadcrumb"/>
						<ui:include src="/veterinaria/paginas/cliente/cliente.xhtml" />
					</h:panelGroup>
			    
			    </h:form>
			    
			    <p:dialog
			    	position="center" 
			    	widgetVar="pet_dialog" modal="true" width="980" height="500" header="Cadastro de Pet's" maximizable="false" resizable="false" draggable="false">
			    	<h:form id="form_animal">
			    		<ui:include src="/veterinaria/paginas/animal/animal.xhtml" />
			    	</h:form>
			    
			    </p:dialog>
				
			</ui:define>
		</ui:composition>
	</f:view>
</html>